/* MERARY home categories — A+ «Витрина» (approved 2026-11-05, ported from the isolated prototype).
   Loaded after home-cat-mockup / home-cat-runtime / home-polish; only restyles the surfaces of the home category
   block (desktop mosaic .home-categories + phone carousel .mcat-scroll). Photos, copy, links and markup are untouched.
   Light falls from the top-left, a pool of light sits behind each product, the lower edge settles into a deeper
   tone, a fine inner keyline frames the card. Tones are low-saturation and share one warm temperature.
   Premium is the single accent: satin deeper-rose edge + thin champagne rim. No dark cards, no white text.
   NOTE: home-cat-layout.js writes --cat-* as inline style on each card (admin-controlled framing). Nothing here
   overrides those values: photo seating is layered on top with "scale"/"translate" (see "photo seating"). */

html body .home-categories{
  --p-ink:#2E2327;
  --p-ink-2:#5E4C53;
}

/* ───── shared surface ───── */
html body .home-categories .category-card{
  --hi:#fff4f7;--mid:#f8d6e0;--lo:#efbccb;
  --glow:rgba(255,255,255,.82);--sx:74%;--sy:62%;
  --edge:rgba(214,120,148,.40);--shade:196,92,122;--acc:#b8315f;
  background:
    radial-gradient(64% 60% at var(--sx) var(--sy),var(--glow) 0%,transparent 72%),
    radial-gradient(110% 70% at 0% 0%,rgba(255,255,255,.55) 0%,transparent 62%),
    linear-gradient(168deg,var(--hi) 0%,var(--mid) 54%,var(--lo) 100%);
  border:1px solid var(--edge);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 0 0 1px rgba(255,255,255,.34),
    inset 0 -26px 34px -28px rgba(var(--shade),.42),
    0 1px 2px rgba(var(--shade),.18),
    0 18px 30px -22px rgba(var(--shade),.62);
  transition:transform .5s cubic-bezier(.22,1,.36,1),box-shadow .5s cubic-bezier(.22,1,.36,1),border-color .35s;
}
/* one fixed diagonal band of satin light (no loop) */
html body .home-categories .category-card:not(.category-card--premium)::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(114deg,transparent 26%,rgba(255,255,255,.26) 42%,rgba(255,255,255,.05) 55%,transparent 70%);
  opacity:.9;transition:opacity .5s;
}
/* the base polish adds a light veil under the copy; the surfaces here carry their own light, so it is off */
html body .home-categories .category-card__content::before{display:none}
html body .home-categories .category-card__title{color:var(--p-ink)}
html body .home-categories .category-card__description{color:var(--p-ink-2)}

/* arrow = small glass chip that never sits on a photo. It is drawn by the card's own ::before (the card, not the text
   block, is its containing block, so the admin's text offset cannot drag it): top-right corner on most cards, right
   of the caption on edible (its title runs the full width), right-middle on the wide gifts card. The real arrow
   element stays hidden, except gifts at ≤1024px where the chip joins the text. */
html body .home-categories .category-card__arrow{display:none}
html body .home-categories .category-card:not(.category-card--premium)::before,
html body .home-categories .category-card--gifts .category-card__arrow{
  place-items:center;width:24px;height:24px;margin:0;padding:0;box-sizing:border-box;
  border-radius:50%;color:var(--acc);font:600 13px/1 var(--cat-body-font,Montserrat,Arial,sans-serif);letter-spacing:0;
  background:rgba(255,255,255,.66);border:1px solid rgba(var(--shade),.32);
  box-shadow:0 2px 6px -3px rgba(var(--shade),.5);
  transition:background-color .3s,color .3s,border-color .3s,transform .4s cubic-bezier(.22,1,.36,1);
}
html body .home-categories .category-card:not(.category-card--premium)::before{
  content:"→";content:"→" / "";
  display:grid;position:absolute;z-index:3;top:13px;right:13px;pointer-events:none;
}
html body .home-categories .category-card--edible:not(.category-card--premium)::before{
  top:calc(var(--ap-pt,31px) + var(--ap-et,27px) * 1.08 + 11px);right:14px;
}
html body .home-categories .category-card.category-card--gifts:not(.category-card--premium)::before{top:50%;right:22px;transform:translateY(-50%)}

/* ───── per-card tones ───── */
/* Premium — the one accent: satin deeper rose gathers at the right edge, thin champagne rim */
html body .home-categories .category-card--premium{
  --acc:#b8315f;--shade:176,82,104;
  background:
    radial-gradient(56% 92% at 70% 56%,rgba(255,255,255,.78) 0%,transparent 70%),
    radial-gradient(110% 70% at 0% 0%,rgba(255,255,255,.6) 0%,transparent 60%),
    linear-gradient(104deg,#fff7f9 0%,#fbe1e8 34%,#f1bccd 74%,#e3a0b6 100%);
  border:0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset -34px 0 46px -34px rgba(160,52,92,.36),
    inset 0 -28px 36px -30px rgba(160,52,92,.3),
    0 1px 2px rgba(150,100,60,.2),
    0 22px 38px -24px rgba(176,82,104,.65);
}
/* champagne metal rim (gradient border via mask) */
html body .home-categories .category-card--premium::after{
  content:"";position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:inherit;padding:1.5px;
  background:linear-gradient(135deg,#f3dfae 0%,#c99a4a 26%,#f7e8bd 50%,#c39443 74%,#ecd59c 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
html body .home-categories .category-card--premium .category-card__eyebrow{color:#946320}
html body .home-categories .category-card--premium .category-card__button{
  color:var(--acc);background:rgba(255,255,255,.62);border-color:rgba(184,49,95,.4);
}

html body .home-categories .category-card--flowers{--hi:#fff5f8;--mid:#f9d9e3;--lo:#f0bfcd;--glow:rgba(255,252,253,.85);--edge:rgba(222,128,156,.42);--shade:206,94,128}
html body .home-categories .category-card--edible{--hi:#fff2ef;--mid:#fbd3cb;--lo:#f2b1a9;--glow:rgba(255,250,247,.85);--edge:rgba(232,122,110,.42);--shade:226,98,88;--acc:#bd3f49}
/* balloons: champagne rose-gold, light pooled behind the bunch so the white balloons keep their shape */
html body .home-categories .category-card--balloons{--hi:#fdf3ec;--mid:#f3d8ca;--lo:#e6bdac;--glow:rgba(255,246,240,.8);--sx:70%;--sy:48%;--edge:rgba(196,134,112,.5);--shade:184,110,90;--acc:#a9493e}
html body .home-categories .category-card--plants{--hi:#f6f9f2;--mid:#e1ebd8;--lo:#cbdac0;--glow:rgba(252,255,248,.9);--sx:56%;--sy:76%;--edge:rgba(122,160,114,.5);--shade:100,144,92;--acc:#46733f}
html body .home-categories .category-card--strawberry{--hi:#fbecf0;--mid:#f0c6d2;--lo:#dea5b5;--glow:rgba(255,246,248,.85);--sx:66%;--sy:70%;--edge:rgba(184,104,126,.46);--shade:166,82,108;--acc:#9d3558}
/* sweets: warm rose, no white spotlight — the white Raffaello box needs contrast, not more white */
html body .home-categories .category-card--sweets{--hi:#fdf0ec;--mid:#f4d3ca;--lo:#e6b1a9;--glow:rgba(255,236,230,.55);--sx:62%;--sy:72%;--edge:rgba(208,130,124,.48);--shade:200,112,106;--acc:#b5453f}
html body .home-categories .category-card--bento{--hi:#fffaf0;--mid:#f6e8cf;--lo:#e8d0a9;--glow:rgba(255,253,246,.9);--sx:66%;--sy:68%;--edge:rgba(200,160,104,.5);--shade:186,144,88;--acc:#94642b}
html body .home-categories .category-card--toys{--hi:#fcf2e6;--mid:#f0d7bc;--lo:#deb993;--glow:rgba(255,250,242,.85);--sx:62%;--sy:66%;--edge:rgba(192,146,108,.5);--shade:174,124,88;--acc:#94572d}
/* gifts: a horizontal champagne-rose "shelf", the light pools under the products, not across the empty middle */
html body .home-categories .category-card--gifts{
  --hi:#fffaf8;--mid:#fae3e5;--lo:#f1c8d0;--glow:rgba(255,255,255,.9);--edge:rgba(210,130,152,.44);--shade:196,106,130;
  background:
    radial-gradient(22% 150% at 54% 62%,rgba(255,255,255,.92) 0%,transparent 72%),
    radial-gradient(60% 100% at 0% 0%,rgba(255,255,255,.6) 0%,transparent 62%),
    linear-gradient(98deg,#fffaf8 0%,#fbe8ea 40%,#f6d2d9 74%,#eebfca 100%);
}

/* gifts shelf: a thin lit edge and a slightly deeper floor under the products, fading out at both ends */
html body .home-categories .category-card--gifts::after{
  background:
    linear-gradient(90deg,transparent 6%,rgba(255,255,255,.85) 28%,rgba(255,255,255,.85) 74%,transparent 94%) 0 calc(100% - 9px)/100% 1px no-repeat,
    linear-gradient(0deg,rgba(var(--shade),.14) 0,rgba(var(--shade),.14) 9px,transparent 9px);
  -webkit-mask-image:linear-gradient(90deg,transparent 4%,#000 24%,#000 76%,transparent 96%);
  mask-image:linear-gradient(90deg,transparent 4%,#000 24%,#000 76%,transparent 96%);
  opacity:1;
}

/* ───── desktop widths ─────
   ≥1240px  the full 6-card mosaic (cards 165px and up): captions are 12px, photos seated as below.
   1025–1239px  the same mosaic, but the six small cards are laid out three per row (card ~300px+): at 130–165px per card
   a 12px caption and a photo cannot share a card without overlapping. Top row, gifts card, colours and hover are shared. */

/* shared by every desktop width (≥1025px) */
@media (min-width:1025px){
  html body .home-categories .category-card{--ap-pt:clamp(20px,2.15vw,31px);--ap-et:clamp(17px,calc(2.35vw - 6.84px),27px)}
  html body .home-categories .category-card--flowers .category-card__content,
  html body .home-categories .category-card--edible .category-card__content{padding-top:var(--ap-pt)}
  html body .home-categories .category-card--flowers .category-card__description,
  html body .home-categories .category-card--edible .category-card__description{margin-top:clamp(8px,.97vw,14px)}
  html body .home-categories .category-card--flowers .category-card__title{font-size:clamp(21px,1.875vw,27px)}
  html body .home-categories .category-card--edible .category-card__title{font-size:var(--ap-et)}
  html body .home-categories .category-card--flowers .category-card__description,
  html body .home-categories .category-card--edible .category-card__description{font-size:clamp(12px,.85vw,12.5px)}
}

/* ───── 6-card mosaic (≥1240px): type follows the card width, so copy and photo do not meet ───── */
@media (min-width:1240px){
  html body .home-categories .category-card--small .category-card__description{font-size:12px;line-height:1.42;margin-top:clamp(6px,.7vw,10px)}
  html body .home-categories .category-card--small .category-card__title{font-size:clamp(14.5px,1.285vw,18.5px)}
  html body .home-categories .category-card--small .category-card__content{padding:clamp(14px,1.5vw,21px) 0 16px clamp(14px,1.5vw,21px)}
}

/* ───── photo seating ─────
   The admin (home-cat-layout.js) writes --cat-w/h/right/bottom/scale/content-mw inline on every card. These rules do
   NOT override them. The photo's independent "scale" property is only a product of two neutral factors on top of the
   admin framing: --ap-k (fixed seating of the premium and gifts cards, 1 elsewhere) and --ap-fit, which
   js/home-cat-fit.js sets per card (1 when the visible part of the photo already clears the caption, otherwise the
   smallest reduction that does). Nothing here depends on the current CMS numbers: new captions, photos, widths or admin
   scales are measured, not guessed. */
@media (min-width:851px){
  html body .home-categories .category-card .category-card__media{scale:calc(var(--ap-k,1) * var(--ap-fit,1));translate:var(--ap-x,0%) var(--ap-y,0%)}
}
@media (min-width:1025px){
  html body .home-categories .category-card--premium{--ap-k:.9524;--ap-y:-1.58%}
  /* gifts: no fixed seating any more, the admin's own width/height/right/bottom/scale place the wide photo (see home-category-layout) */
}
/* The photo is held back until js/home-cat-fit.js has measured it (fonts + photos ready), so it never visibly jumps at load.
   Fail-safe: without the script, or if it fails, CSS alone reveals the photo ~1.2s after the block appears. After that,
   later fit changes (window resize, a caption that wraps differently) glide instead of jumping. */
@media (min-width:851px){
  html.cat-layout-ready:not(.cat-fit-ready) body .home-categories .category-card .category-card__media{opacity:0;animation:aplusFitFailsafe 1ms linear 1.2s forwards}
  html.cat-fit-ready body .home-categories .category-card .category-card__media{transition:transform .8s var(--p-ease,cubic-bezier(.22,1,.36,1)),opacity .22s ease,scale .24s ease}
}
@keyframes aplusFitFailsafe{to{opacity:1}}
@media (min-width:1240px){
  /* text column a little wider than the admin value (+10%) so two-line captions stay on two lines */
  html body .home-categories .category-card--small .category-card__content{max-width:calc(var(--cat-content-mw) + 10%)}
  html body .home-categories .category-card--balloons .category-card__content{max-width:var(--cat-content-mw)}
}

/* mid widths (1240–1399px): the cards are ~165–190px wide while the captions stay 12px, so the text column is opened up
   (captions break only where the markup breaks them) and lines are set closer */
@media (min-width:1240px) and (max-width:1399px){
  html body .home-categories .category-card--small .category-card__content{max-width:calc(var(--cat-content-mw) + 30%)}
  html body .home-categories .category-card--balloons .category-card__content{max-width:var(--cat-content-mw)}
  html body .home-categories .category-card--flowers .category-card__content{max-width:calc(var(--cat-content-mw) + 25%)}
  html body .home-categories .category-card--small .category-card__description{line-height:1.3;margin-top:5px}
}

/* ───── compact desktop (1025–1239px): small cards three per row ───── */
@media (min-width:1025px) and (max-width:1239px){
  html body .home-categories .category-grid__row--mid{grid-template-columns:repeat(3,minmax(0,1fr))}
  html body .home-categories .category-card--small{aspect-ratio:1.22 / 1}
  html body .home-categories .category-card--small .category-card__title{font-size:clamp(18px,1.7vw,20px)}
  html body .home-categories .category-card--small .category-card__description{font-size:13px;line-height:1.4;margin-top:8px}
  html body .home-categories .category-card--small .category-card__content{padding:22px 0 16px 22px}
  html body .home-categories .category-card--flowers .category-card__content{max-width:calc(var(--cat-content-mw) + 25%)}
  /* edible: home-cat-layout.js shrinks this caption inline (nowrap, down to 9.5px) to the title width, which only suits a
     short caption in a ~190px card. Here it is set at 12px and may wrap inside a column that ends before the arrow chip
     (it writes only font-size / white-space on this one element, never a layout variable) */
  html body .home-categories .category-card--edible .category-card__description{font-size:12px !important;white-space:normal !important;max-width:9.5em}
}
@media (min-width:1025px) and (max-width:1099px){
  html body .home-categories .category-card--flowers .category-card__title{font-size:19px}
  html body .home-categories .category-card--flowers .category-card__description{margin-top:6px}
}


/* ───── premium card text fit (1025–1439px) ─────
   The premium card keeps its 800:356 shape, so its height shrinks with the viewport while the text block (eyebrow, title,
   3-line caption, button) was sized for 1440px: below ~1400px the caption and the button ran past the bottom edge.
   Up to 1250px the block is set compact (and the caption is dropped below 1120px, where only the title and the button
   fit); from 1251px every size grows linearly back to the original 1440px value, so 1439px and 1440px match. */
@media (min-width:1025px) and (max-width:1250px){
  html body .home-categories .category-card--premium .category-card__content{padding:clamp(22px,2.4vw,34px) 12px clamp(16px,1.6vw,22px) clamp(28px,2.9vw,38px);max-width:calc(var(--cat-content-mw) + 8%)}
  html body .home-categories .category-card--premium .category-card__eyebrow{margin-bottom:clamp(8px,1vw,14px);font-size:11px;letter-spacing:.12em;white-space:nowrap}
  html body .home-categories .category-card--premium .category-card__title{font-size:clamp(23px,2.05vw,29px)}
  html body .home-categories .category-card--premium .category-card__description{font-size:12px;line-height:1.45;margin-top:8px}
  html body .home-categories .category-card--premium .category-card__button{white-space:nowrap;margin-top:clamp(10px,1.1vw,16px);padding:9px 17px;font-size:12px}
}
@media (min-width:1025px) and (max-width:1119px){
  html body .home-categories .category-card--premium .category-card__description{display:none}
}
@media (min-width:1251px) and (max-width:1439px){
  html body .home-categories .category-card--premium .category-card__content{padding:calc(30px + (100vw - 1250px) * .0947) 12px calc(20px + (100vw - 1250px) * .0737) calc(36.25px + (100vw - 1250px) * .0092)}
  html body .home-categories .category-card--premium .category-card__eyebrow{margin-bottom:calc(12.5px + (100vw - 1250px) * .0605);font-size:calc(11px + (100vw - 1250px) * .00526);letter-spacing:calc(1.32px + (100vw - 1250px) * .00316);white-space:nowrap}
  html body .home-categories .category-card--premium .category-card__title{font-size:calc(25.6px + (100vw - 1250px) * .032)}
  html body .home-categories .category-card--premium .category-card__description{font-size:calc(12px + (100vw - 1250px) * .00526);line-height:calc(1.45 + (100vw - 1250px) * .000526);margin-top:calc(8px + (100vw - 1250px) * .0316)}
  html body .home-categories .category-card--premium .category-card__button{white-space:nowrap;margin-top:calc(13.75px + (100vw - 1250px) * .0645);padding:calc(9px + (100vw - 1250px) * .0105) calc(17px + (100vw - 1250px) * .0105);font-size:calc(12px + (100vw - 1250px) * .00526)}
}

/* gifts card is only 80–105px tall at 1025–1439px: its two-line title and two-line caption are set a little smaller and
   closer so nothing is clipped at the bottom edge */
@media (min-width:1025px) and (max-width:1439px){
  /* from 1360px the compact values ease back to the original ones (padding 17/13, line-heights 1.05/1.45, gap 8px) so 1439px matches 1440px */
  html body .home-categories .category-card--gifts .category-card__content{padding-top:calc(10px + clamp(0px,100vw - 1360px,80px) * .0875);padding-bottom:calc(6px + clamp(0px,100vw - 1360px,80px) * .0875)}
  html body .home-categories .category-card--gifts .category-card__title{font-size:clamp(15px,1.55vw,20px);line-height:calc(1em + clamp(0px,100vw - 1360px,80px) * .0125)}
  html body .home-categories .category-card--gifts .category-card__description{font-size:12px;line-height:calc(1.2em + clamp(0px,100vw - 1360px,80px) * .0375);margin-top:calc(4px + clamp(0px,100vw - 1360px,80px) * .05)}
}
@media (min-width:1240px) and (max-width:1359px){
  /* same wrapped 12px edible caption as below 1240px, in a slightly wider column that still ends before the chip */
  html body .home-categories .category-card--edible .category-card__description{font-size:12px !important;white-space:normal !important;max-width:12em}
}

/* two-column layout (≤1024px): the wide gifts card is short and its photo runs to the right edge, so its chip joins the text */
@media (max-width:1024px){
  html body .home-categories .category-card.category-card--gifts:not(.category-card--premium)::before{display:none}
  html body .home-categories .category-card--gifts .category-card__arrow{display:grid;position:relative;z-index:3;margin-top:10px}
}

/* ───── gifts card, tablet (851–1024px) ─────
   The wide card exists from 851px (below that the mobile carousel replaces it). Its photo box is sized from the card width
   (container units), so the group of gifts keeps the proportions and the right margin it has from 1025px (it ends at ~89% of
   the card) and stays clear of the caption. 7.2727 is the 2400x330 photo ratio; .0758 puts the products on the card's shelf
   line; 168px is the widest caption (two-line title) plus ~60px of air. The admin scale still applies on top. */
@media (min-width:851px) and (max-width:1024px){
  html body .home-categories .category-card--gifts{container-type:inline-size}
  html body .home-categories .category-card--gifts .category-card__media{
    --g-h:clamp(84px,calc(19cqw - 49px),128px);--g-w:calc(var(--g-h) * 7.2727);
    height:var(--g-h);width:var(--g-w);
    right:calc(11.1cqw - .101 * var(--g-w));bottom:calc(.0758 * var(--g-h) - 9px);
  }
}

/* ───── hover (mouse only: no sticky hover on touch) ───── */
@media (hover:hover) and (pointer:fine){
  html body .home-categories .category-card:hover{
    transform:translateY(-3px);border-color:var(--edge);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.95),
      inset 0 0 0 1px rgba(255,255,255,.4),
      inset 0 -26px 34px -28px rgba(var(--shade),.46),
      0 1px 2px rgba(var(--shade),.22),
      0 28px 40px -22px rgba(var(--shade),.72);
  }
  html body .home-categories .category-card--premium:hover{
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.9),
      inset -34px 0 46px -34px rgba(160,52,92,.4),
      inset 0 -28px 36px -30px rgba(160,52,92,.34),
      0 1px 2px rgba(150,100,60,.24),
      0 30px 44px -24px rgba(176,82,104,.72);
  }
  html body .home-categories .category-card:not(.category-card--premium):hover::after{opacity:1}
  html body .home-categories .category-card:not(.category-card--premium):hover::before,
  html body .home-categories .category-card--gifts:hover .category-card__arrow{background:var(--acc);color:#fff;border-color:var(--acc);transform:scale(1.1)}
  html body .home-categories .category-card.category-card--gifts:not(.category-card--premium):hover::before{transform:translateY(-50%) scale(1.1)}
  /* photo hover: home-polish.css replaces the base `transform:scale(var(--cat-scale))` with a bare scale(1.035), which
     dropped the admin scale (photos shrank up to ~20%, gifts ~48%). Keep the admin scale and add only the gentle 3.5%.
     The independent `scale` (--ap-k) is a separate property: it is not repeated here, so nothing is counted twice. */
  html body .home-categories .category-card:hover .category-card__media{transform:translateY(-7px) scale(calc(var(--cat-scale,1) * 1.035))}
}
/* touch screens: the base rule's hover lift would stick after a tap */
@media (hover:none){
  html body .home-categories .category-card:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
  html body .home-categories .category-card,html body .home-categories .category-card:hover{transform:none;transition:none}
  /* home-polish.css zeroes the photo's transform AND scale here (!important), which wiped the admin scale and the A+ seating.
     Photo keeps its resting size from the admin variable; only the hover movement stays off. */
  html body .home-categories .category-card .category-card__media,
  html body .home-categories .category-card:hover .category-card__media{transform:scale(var(--cat-scale,1)) !important;transition:none !important}
}
@media (prefers-reduced-motion:reduce) and (min-width:851px){
  html body .home-categories .category-card .category-card__media,
  html body .home-categories .category-card:hover .category-card__media{scale:calc(var(--ap-k,1) * var(--ap-fit,1)) !important}
}

/* ───── phones / ≤850px: the carousel tiles speak the same language ───── */
@media (max-width:53.125rem){
  .mcat-scroll__card{
    --hi:#fff5f8;--mid:#f9d9e3;--lo:#f0bfcd;--edge:rgba(222,128,156,.46);--shade:206,94,128;
    background:
      radial-gradient(70% 55% at 62% 40%,rgba(255,255,255,.7) 0%,transparent 75%),
      linear-gradient(168deg,var(--hi) 0%,var(--mid) 56%,var(--lo) 100%);
    border:1px solid var(--edge);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.95),
      inset 0 0 0 1px rgba(255,255,255,.34),
      inset 0 -16px 20px -18px rgba(var(--shade),.4),
      0 12px 20px -14px rgba(var(--shade),.6);
  }
  .mcat-scroll__media{background:transparent}
  .mcat-scroll__label{color:#2E2327;font-weight:600}
  .mcat-scroll__card--premium{
    --hi:#fff7f9;--mid:#f6cfdb;--lo:#e8a9bd;border:0;
    background:
      radial-gradient(70% 55% at 62% 40%,rgba(255,255,255,.7) 0%,transparent 75%),
      linear-gradient(168deg,#fff7f9 0%,#f6cfdb 56%,#e6a3b9 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 -16px 20px -18px rgba(160,52,92,.38),0 12px 20px -14px rgba(176,82,104,.65);
  }
  .mcat-scroll__card--premium::after{
    content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;padding:1.5px;
    background:linear-gradient(135deg,#f3dfae 0%,#c99a4a 28%,#f7e8bd 52%,#c39443 76%,#ecd59c 100%);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;mask-composite:exclude;
  }
  .mcat-scroll__card--premium .mcat-scroll__label{color:#84561a}
  /* tones by link, not by position, so reordering the carousel cannot shuffle them */
  .mcat-scroll__card[href*="category=edible"]{--hi:#fff2ef;--mid:#fbd3cb;--lo:#f2b1a9;--edge:rgba(232,122,110,.44);--shade:226,98,88}
  .mcat-scroll__card[href*="category=strawberry"]{--hi:#fbecf0;--mid:#f0c6d2;--lo:#dea5b5;--edge:rgba(184,104,126,.46);--shade:166,82,108}
  .mcat-scroll__card[href*="category=bento"]{--hi:#fffaf0;--mid:#f6e8cf;--lo:#e8d0a9;--edge:rgba(200,160,104,.5);--shade:186,144,88}
  .mcat-scroll__card[href*="category=balloons"]{--hi:#fdf3ec;--mid:#f3d8ca;--lo:#e6bdac;--edge:rgba(196,134,112,.5);--shade:184,110,90}
  .mcat-scroll__card[href*="category=plants"]{--hi:#f6f9f2;--mid:#e1ebd8;--lo:#cbdac0;--edge:rgba(122,160,114,.5);--shade:100,144,92}
  .mcat-scroll__card[href*="category=sweets"]{--hi:#fdf0ec;--mid:#f4d3ca;--lo:#e6b1a9;--edge:rgba(208,130,124,.48);--shade:200,112,106}
  /* toys and gifts share one link, told apart by the photo's alt text */
  .mcat-scroll__card:has(img[alt="Игрушки"]){--hi:#fcf2e6;--mid:#f0d7bc;--lo:#deb993;--edge:rgba(192,146,108,.5);--shade:174,124,88}
  .mcat-scroll__card:has(img[alt="Подарки"]){--hi:#fffaf8;--mid:#fae3e5;--lo:#f1c8d0;--edge:rgba(210,130,152,.46);--shade:196,106,130}
}
